package test0103.test01;

public class Employee {
    int id;
    String name;
    String sex;
    String birthday;
    String school;
    Position position;

    public Employee() {
    }

    public Employee(int id, String name, String sex, String birthday, String school, Position position) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.school = school;
        this.position = position;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public Position getPosition() {
        return position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday='" + birthday + '\'' +
                ", school='" + school + '\'' +
                ", position=" + position +
                '}';
    }
}
